﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ConsolidationTool.WebParts.ControlTemplates;

namespace ConsolidationTool.WebParts
{
    public class Utility
    {
        

        public static string UnitPlaceholderComplie(string p, System.Web.UI.UserControl commonEntitySelector)
        {
           var TopSelector = (commonEntitySelector as CommonEntitySelector);

           return p.Replace("_Tonnage_", TopSelector.lbCompanyTonnage.Text).Replace("_Currency_", TopSelector.lbCompanyCurrency.Text);
        }
    }
}
